import request from '@/utils/request'

// 查询24节气列表
export function listAppTravelDesc(query) {
  return request({
    url: '/app/appTravelDesc/list',
    method: 'get',
    params: query
  })
}

// 查询24节气详细
export function getAppTravelDesc(id) {
  return request({
    url: '/app/appTravelDesc/' + id,
    method: 'get'
  })
}

// 新增24节气
export function addAppTravelDesc(data) {
  return request({
    url: '/app/appTravelDesc',
    method: 'post',
    data: data
  })
}

// 修改24节气
export function updateAppTravelDesc(data) {
  return request({
    url: '/app/appTravelDesc',
    method: 'put',
    data: data
  })
}

// 删除24节气
export function delAppTravelDesc(id) {
  return request({
    url: '/app/appTravelDesc/' + id,
    method: 'delete'
  })
}
